package com.bh.order.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 分段订单签收对象
 *
 * @author slx
 * @date 2023-04-24
 */
@ApiModel("分段订单签收对象")
@Data
public class JcLedSignReceivingVo {

    private Long ledId;

    @JsonSerialize(using= ToStringSerializer.class)
    private String[] ledIds;


    @JsonSerialize(using=ToStringSerializer.class)
    @ApiModelProperty("签收图片")
    private String qsImgs;

    /**
     * 用户ID
     */
    private String userId;


    /**
     * 签收时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("签收时间")
    private Date qsTime;


    /**
     * 签收人
     */
    @ApiModelProperty("签收人")
    private String qsPerson;
}
